home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / checkbox / plugins / modprobe_info.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-10-12  |  941 b   |  18 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from checkbox.plugin import Plugin
  5.  
  6. class ModprobeInfo(Plugin):
  7.     
  8.     def register(self, manager):
  9.         super(ModprobeInfo, self).register(manager)
  10.         self._manager.reactor.call_on('report', self.report)
  11.  
  12.     
  13.     def report(self):
  14.         self._manager.reactor.fire('report-modprobe', self._manager.registry.modprobe.items())
  15.  
  16.  
  17. factory = ModprobeInfo
  18.